<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
use Illuminate\Http\Resources\Json\Resource;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {//
		Schema::defaultStringLength(191);
     //   Resource::wrap('lists');//默认data数组  json
        //
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
      /*  if ($this->app->environment() !== 'production') {
            $this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
        }*/
        //
    }
}
